//
//  LXSelectView.h
//  cat
//
//  Created by imera on 16/3/15.
//  Copyright © 2016年 LX. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LXSelectView;

@protocol LXSelectViewDelegate <NSObject>

@optional
/**
 *  底部按钮被点击
 *
 *  @param selectView <#selectView description#>
 */
- (void)bottomBtnClick:(LXSelectView *)selectView;

@optional
/**
 *  选项被点击
 *
 *  @param selectView <#selectView description#>
 *  @param tag        <#tag description#>
 */
- (void)itemSelected:(LXSelectView *)selectView tag:(int)tag;

@end

@interface LXSelectView : UIView

/** 选项是否为圆形 */
@property (nonatomic, assign) BOOL isSelectItemCircle;

+ (instancetype)initWithTitle:(NSString *)title imageArr:(NSArray *)imageArr imageTitleArr:(NSArray *)imageTitleArr bottomBtnTitle:(NSString *)bottomBtnTitle;

- (instancetype)initWithTitle:(NSString *)title imageArr:(NSArray *)imageArr imageTitleArr:(NSArray *)imageTitleArr bottomBtnTitle:(NSString *)bottomBtnTitle;

@property (nonatomic, weak) id<LXSelectViewDelegate> MyDelegate;

/** 选择按钮点击 */
- (void)btnSelected:(int)tag;

@end
